Add Lato as a default font#706
Add Lato as a default font#706agriyakhetarpal wants to merge 1 commit intoscientific-python:mainfrom
Conversation
✅ Deploy Preview for scientific-python-hugo-theme ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
This is a little less bold than the other fallback font we have had, but arguably more correct. See the difference at https://theme.scientific-python.org/ vs https://deploy-preview-706--scientific-python-hugo-theme.netlify.app/ |
|
Checked all websites, seems to work fine! |
|
I think only Scientific Python sites need Lato, so not sure it should be the default fallback. But it should be specified as an additional font in all SP websites. |
|
Hmm, in that case, we should close this PR and add Lato to all the websites' config. I don't feel very strongly about this PR; I just thought it's a good way to introduce consistency for all websites. Closing, then! |

the
fonts:section in the Hugo config is supposed to be for additional fonts that users want to include for whatever reason, but we've been relying on Lato for downstream websites and it makes sense to add it here. Also enables Noto Sans which was disabled for some reason (inadvertently, based on the incorrect comment?).Closes #705